package com.wlc.pojo;

import lombok.Data;
import java.time.LocalDateTime;

/**
 * 用户实体类
 */
@Data
public class User {
    private Long id;
    private String username;
    private String password;
    private Long employeeId;
    private Integer isEnabled;
    private Integer isAccountNonExpired;
    private Integer isAccountNonLocked;
    private Integer isCredentialsNonExpired;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;


    // 关联字段（用于前端展示）
    private String employeeName;
    private String deptName;
}